home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20021006-20030409 / 000195_heiby_u@falkor.chi.il.us_Mon Dec 23 23:07:41 EST 2002.msg < prev    next >
Text File  |  2020-01-01  |  3KB  |  62 lines

  1. Article: 13981 of comp.protocols.kermit.misc
  2. Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!newsfeed.cwix.com!wn13feed!worldnet.att.net!204.127.198.204!attbi_feed4!attbi.com!rwcrnsc52.ops.asp.att.net.POSTED!not-for-mail
  3. From: Ron Heiby <heiby_u@falkor.chi.il.us>
  4. Newsgroups: comp.protocols.kermit.misc
  5. Subject: Linux (RH 8.0) Permissions
  6. Message-ID: <7t5f0v0h62sf16is6sc8d164t8u08a426l@4ax.com>
  7. X-Newsreader: Forte Agent 1.91/32.564
  8. MIME-Version: 1.0
  9. Content-Type: text/plain; charset=us-ascii
  10. Content-Transfer-Encoding: 7bit
  11. Lines: 42
  12. NNTP-Posting-Host: 12.248.231.128
  13. X-Complaints-To: abuse@attbi.com
  14. X-Trace: rwcrnsc52.ops.asp.att.net 1040696355 12.248.231.128 (Tue, 24 Dec 2002 02:19:15 GMT)
  15. NNTP-Posting-Date: Tue, 24 Dec 2002 02:19:15 GMT
  16. Organization: AT&T Broadband
  17. Date: Tue, 24 Dec 2002 02:19:15 GMT
  18. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13981
  19.  
  20. -----BEGIN PGP SIGNED MESSAGE-----
  21. Hash: SHA1
  22.  
  23. I'm running C-Kermit 8.0.201 on a Red Hat 8.0 Linux box. I am a bit
  24. puzzled about how I should be setting permissions and ownerships of things
  25. to make life easiest.
  26.  
  27. I note that /dev/ttyS? (COM1 and internal modem at COM3) are owned by
  28. root, group uucp, mode 660. So, I say to myself, "I'd better make kermit
  29. sgid to group uucp."
  30.  
  31. Running kermit and doing a "set line /dev/ttyS0", I am told that
  32. Permission is denied on /var/lock, with "Sorry, write access to uucp lock
  33. file directory denied." Sure enough, /var/lock is owner root, group lock,
  34. mode 775.
  35.  
  36. As far as I know, I can't have kermit be sgid to *both* "uudp" and "lock"
  37. groups, so I get to choose whether I want to access the port or access the
  38. lock for the port. Unfortunately, both are required to allow access to the
  39. port.
  40.  
  41. I'd like to know what access parameters I should be changing how, in order
  42. to allow kermit to function with my ttyS? ports, without screwing up
  43. anything else I might need to be doing with them. (I have no plans to do
  44. serial UUCP, but might want to establish an outbound PPP session or have
  45. an incoming getty (of some flavor) on either or both ports.) I'd rather
  46. not run kermit suid-root, if that can be avoided.
  47.  
  48. I'm tempted to install the uucp software, just to see how *it* manages to
  49. access both the port and the lock directory.
  50.  
  51. I imagine that this is a "solved problem". Anyone? Thanks!
  52.  
  53. -----BEGIN PGP SIGNATURE-----
  54. Version: PGP Personal Privacy 6.5.8
  55. Comment: Until recently, the last PGP with full source disclosure.
  56.  
  57. iQA/AwUBPgeZmm8pw+2/9pUJEQLY3gCcCeAhI5GZNxINbU6dKSUrkBz9vpgAnida
  58. Zn8wYYUiPc78u5uSPoDb1sKR
  59. =F7eH
  60. -----END PGP SIGNATURE-----
  61.  
  62.